//
//  AppDelegate.swift
//  微博
//
//  Created by Mr.Deng on 15/9/21.
//  Copyright © 2015年 Mr.Deng. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?
    private func setupAppearance(){
        UITabBar.appearance().tintColor = WBAppearance
        UINavigationBar.appearance().tintColor = WBAppearance
    }

    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
        window = UIWindow(frame: (UIScreen.mainScreen().bounds))
        window?.backgroundColor = UIColor.whiteColor()
        window?.rootViewController = MainViewController()
        window?.makeKeyAndVisible()
        setupAppearance()
        
        return true
    }


}

